package com.ruoyi.eqmonitor.smdtv.mapper;

import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.eqmonitor.smdtv.domain.Smdtv10;
import org.apache.ibatis.annotations.Param;

/**
 * @author ruoyi
 * @date 2023-01-09
 */
public interface Smdtv10Mapper extends BaseMapper<Smdtv10>{

    public List<Smdtv10> selectSmdtv10List(@Param("smdtv10")Smdtv10 smdtv10,
                                           @Param("tableName")String tableName,
                                           @Param("pageNum")Integer pageNum,
                                           @Param("pageSize")Integer pageSize);

    Long getTotal(@Param("smdtv10")Smdtv10 smdtv10,
                  @Param("tableName")String tableName);

    public Smdtv10 selectSmdtv10ById(@Param("id")Long id,@Param("tableName")String tableName);

    int save(@Param("smdtv10")Smdtv10 smdtv10,@Param("tableName")String tableName);

    int updateById(@Param("smdtv10")Smdtv10 smdtv10,@Param("tableName")String tableName);

}
